Clone Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Creates a new Deque that is a copy of this one.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public Deque<T> Clone()
Visual Basic (Declaration)
Public Function Clone As Deque(Of T)
Visual C++
public:
Deque<T>^ Clone ()

Return Value

A copy of the current deque.

Remarks

Copying a Deque takes O(N) time, where N is the number of items in this Deque..

See Also